CXXFLAGS = -I../include -DUSING_V8_SHARED

#LDFLAGS = -L/home/denis/src/v8 libv8.a -lpthread -L/usr/local/lib -lexecinfo

#LDFLAGS = -lpthread -L/usr/local/lib -lexecinfo

LDFLAGS = -L.. -lv8 -L/usr/local/lib -lpthread -L/usr/local/lib -lexecinfo 

all: test
	LD_LIBRARY_PATH=.. ./test

.cc:
	g++ -o $@ $< ${CXXFLAGS} ${LDFLAGS} 

#	g++ ${CXXFLAGS} ${LDFLAGS} $< -o $@ ../libv8_static.a

#	g++ ${CXXFLAGS} ${LDFLAGS} $< -o $@ ../libv8.a


clean:
	rm -f test





